<template>
  <div class="form-card">
    <h3 v-if="title" class="form-title">{{ title }}</h3>
    <slot></slot>
  </div>
</template>

<script setup lang="ts">
  interface Props {
    title?: string;
  }

  defineProps<Props>();
</script>

<style scoped lang="scss">
  @use '../css/blog.scss' as *;
</style>
